package com.china08.yxyapi.entity.db.meeting;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.china08.yxyapi.entity.BaseEntity;

/**
 * 视频会议的附件文档.一次会议可以有多个文档.
 * 
 * @author Richard.Wang
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "yxy_video_meeting_file", catalog = "yxy_yxy", uniqueConstraints = {
		@UniqueConstraint(columnNames = { "meeting_id", "attachment" }) })
public class VideoMeetingFile extends BaseEntity {

	@Column(name = "meeting_id", columnDefinition = "varchar(32) comment '会议id' ", nullable = false)
	private String meetingId;

	@Column(name = "attachment", columnDefinition = "varchar(255) comment '附件' ")
	private String attachment;

	@Column(columnDefinition = "varchar(255) comment '附件名称' ")
	private String attachmentName;

	/**
	 * @return the meetingId
	 */
	public String getMeetingId() {
		return meetingId;
	}

	/**
	 * @param meetingId
	 *            the meetingId to set
	 */
	public void setMeetingId(String meetingId) {
		this.meetingId = meetingId;
	}

	/**
	 * @return the attachment
	 */
	public String getAttachment() {
		return attachment;
	}

	/**
	 * @param attachment
	 *            the attachment to set
	 */
	public void setAttachment(String attachment) {
		this.attachment = attachment;
	}

	/**
	 * @return the attachmentName
	 */
	public String getAttachmentName() {
		return attachmentName;
	}

	/**
	 * @param attachmentName
	 *            the attachmentName to set
	 */
	public void setAttachmentName(String attachmentName) {
		this.attachmentName = attachmentName;
	}

}
